%%
%%
%% This is file `pdfslide.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% pdfslide.dtx  (with options: `package')
%%
%% File: pdfslide.dtx Copyright (c) 1999, C. V. Radhakrishnan
%% <cvr@river-valley.com>
%%
%% This package may be distributed under the terms of the LaTeX Project 
%% Public License, as described in lppl.txt in the base LaTeX distribution.
%% Either version 1.0 or, at your option, any later version.
%%
\ProvidesPackage{pdfslide}
          [1999/10/10 v0.50  slides with PDF (CVR)]
\RequirePackage[pdftex]{graphicx}
\newif\if@nocfg       \@nocfgfalse
\newif\if@ams         \@amstrue
\newif\if@contnav     \@contnavfalse
\DeclareOption{nocfg}{\@nocfgtrue}
\DeclareOption{ams}{\@amstrue}
\DeclareOption{contnav}{\@contnavtrue}
\ProcessOptions
\ExecuteOptions{ams}
\def\ScreenLastPage{100}
\RequirePackage{colortbl}
\RequirePackage{amssymb,amsbsy,fancybox}
\RequirePackage[pdftex,pdfpagemode=none,colorlinks,%
             pdfmenubar=false,%
             pdfhighlight=/I,%
             pdftoolbar=false,%
%             pdfpagemode=FullScreen,%
             pdffitwindow=true,pdfcenterwindow=true,%
             pdfwindowui=false,menucolor=menucolor,%
             pdfpagemode={FullScreen}]{hyperref}
  \RequirePackage{ifthen}     %removed pifont
  \newdimen\@Leftmargin   \@Leftmargin=0cm
  \newdimen\@Rightmargin  \@Rightmargin=0cm
  \newdimen\@Topmargin    \@Topmargin=0cm
  \newdimen\@Bottommargin \@Bottommargin=0cm
  %
  \def\InitLayout{
    \setlength{\textwidth}{\paperwidth}
    \addtolength{\textwidth}{-\@Leftmargin}
    \addtolength{\textwidth}{-\@Rightmargin}
    \setlength{\textheight}{\paperheight}
    \addtolength{\textheight}{-\@Topmargin}
    \addtolength{\textheight}{-\@Bottommargin}
    \addtolength{\textheight}{-\headheight}
    \addtolength{\textheight}{-\headsep}
    \addtolength{\textheight}{-\footskip}
    \setlength{\oddsidemargin}{\@Leftmargin}
    \addtolength{\oddsidemargin}{-1in}
    \setlength{\evensidemargin}{\@Rightmargin}
    \addtolength{\evensidemargin}{-1in}
    \setlength{\topmargin}{\@Topmargin}
    \addtolength{\topmargin}{-1in}
  }
  \InitLayout
  \def\screensize#1#2{\paperheight=#1%
    \paperwidth=#2
    \InitLayout
  }
  \def\marginsize#1#2#3#4{
    \@Leftmargin=#1
    \@Rightmargin=#2
    \@Topmargin=#3
    \@Bottommargin=#4
    \InitLayout
  }
  \definecolor{menucolor}{rgb}{1,.25,0}
  \definecolor{paleblue}{rgb}{0,0,0.1}
  \input slide.clo
  \setlength\footskip{1\baselineskip}
  \AtEndDocument{%
    \clearpage   \addtocounter{page}{-1}%
    \immediate\write\@auxout{\string\gdef\string\ScreenLastPage{\arabic{page}}}%
  }
%
\def\st{\vrule height11pt depth 2pt width0pt}
    \def\ps@headings{\ps@sidebar}
    \def\ps@plain{\ps@sidebar}
    \def\ps@empty{\ps@title}
    \def\ps@myheadings{\ps@sidebar}
    \def\ps@firstpage{\ps@ftitle}
    \def\maketitle{\@mtitle}
    \voffset-.25in
    \marginsize{.3in}{.3in}{-.050in}{.3in}
    \def\marginsize#1#2#3#4{}
    \setcounter{tocdepth}{1}
    \setcounter{secnumdepth}{1}
    \setlength\paperwidth{8in}
    \setlength\paperheight{5.85in} %5.5
    \@Leftmargin=.3in
    \@Rightmargin=.3in
    \@Topmargin=.5in
    \@Bottommargin=.3in
    \voffset-.185in %-.2in
    \headsep 25pt
    \pdfpagewidth=.832\paperwidth %%7.5in
    \pdfpageheight=\paperheight  %%6.3in
    \advance\pdfpageheight by -.5in
    \newlength\panelwidth  \setlength\panelwidth{.09\paperwidth}%%.265
    \newlength\panelheight \setlength\panelheight{1\textheight}
    \newlength\textareawidth \setlength\textareawidth{\pdfpagewidth}
    \newlength\textareaheight\setlength\textareaheight{\pdfpageheight}
    \parskip 1pt plus2pt minus 1pt
    \setlength{\textheight}{\textareaheight}%%6in
    \addtolength{\textheight}{-.5\@Bottommargin}
    \setlength{\textwidth}{\textareawidth}%%5.5
    \evensidemargin=\oddsidemargin
    \def\ps@myheadings{\ps@title}
    \def\ps@headings{\ps@title}
    \def\ps@plain{\ps@sidebar}
    \def\ps@empty{\ps@title}

\def\overlay#1{\gdef\@overlay{#1}}
\def\@overlay{world3-455.png}
\addtolength\textareawidth{.56in}

  \def\ps@title{%
    \def\@evenhead{\if@contnav\hspace*{-.3825in} %3375
       \else\hspace*{-.355in}\fi%
       \colorbox{white}{\begin{minipage}[t][1.025\pdfpageheight][c]{\textareawidth}%
       {\color{white}\includegraphics[width=7.215in,height=5.84in]{\@overlay}}%7.175
       \end{minipage}}\null\hskip-1.5pt %6.5,6
       \@panel\hspace*{-\panelwidth}%
       \hspace*{-3.5\@Rightmargin}\hfil}
    \def\@oddhead{\@evenhead}
    \def\@evenfoot{\@empty}
    \def\@oddfoot{\@empty}
    \let\@mkboth\@gobbletwo
    \let\chaptermark\@gobble
    \let\sectionmark\@gobble
  }
  \def\ps@sidebar{%
    \def\@evenhead{\hspace*{-.385in} %1.5
       \colorbox{white}{\begin{minipage}[t][2pt][c]{\textareawidth}
       {\color{white}\hrulefill}\end{minipage}}\null
       \ifnum\number\thepage=1\@panel\else\@panel\fi
             \hspace*{-\panelwidth}\hspace*{-3.5\@Rightmargin}\hfil}
    \def\@oddhead{\@evenhead}
    \def\@evenfoot{\@empty}
    \def\@oddfoot{\@empty}
    \let\@mkboth\@gobbletwo
    \let\chaptermark\@gobble
    \let\sectionmark\@gobble
  }
  \definecolor{panelbackground}{rgb}{1,.549,0}
  \definecolor{button}{rgb}{0,0,.7}
  \definecolor{buttondisable}{gray}{.7}
  \def\nBlue{\color{buttonshadow}}
  \def\Panelgobackname#1{\gdef\@Panelgobackname{#1}}
  \def\Panelclosename#1{\gdef\@Panelclosename{#1}}
  \def\@Panelgobackname{Back}
  \def\@Panelclosename{Close}
  \RequirePackage{amssymb,amsbsy}
  \def\@panel{{\colorbox{panelbackground}
       {\begin{minipage}[t][0][t]{0}
   \end{minipage}}}\normalcolor\rmfamily
  }
  \definecolor{orange}{rgb}{1,.549,0}
  \def\Black{\color{black}}
  \definecolor{panelbackground}{rgb}{.455,.832,.979}
  \definecolor{buttonbackground}{rgb}{0,.624,.820}
  \definecolor{buttonshadow}{rgb}{.001,0,.502}

  \def\Sectionformat#1#2{%
   \ifcase#2%
        {\protect\textcolor{section0}{#1}}%level 0 chapter        { }
    \or {\protect\textcolor{section1}{#1}}%level 1 section        { }
    \or {\protect\textcolor{section2}{#1}}%level 2 subsection     { }
    \or {\protect\textcolor{section3}{#1}}%level 3 subsubsection  { }
    \or {\protect\textcolor{section4}{#1}}%level 4 paragraph      { }
    \or {\protect\textcolor{section5}{#1}}%level 5 subparagraph   { }
   \fi
  }
  \let\scr@section\section \newdimen\headskip \headskip=1\baselineskip
  \def\section{\clearpage\null\vskip\headskip\scr@section}
  \definecolor{section0}{rgb}{0,0,0}
  \definecolor{section1}{rgb}{0,.5,1}
  \definecolor{section2}{rgb}{0,.5,.7}
  \definecolor{section3}{rgb}{0,.5,.4}
  \definecolor{section4}{rgb}{.4,.5,.2}
  \definecolor{section5}{rgb}{.5,.5,.3}

\if@contnav
  \font\CVxx=contnav at 15pt
  \fboxrule1pt\fboxsep2pt
  \def\Prev{\fbox{\hbox to .5cm{\hfil\scalebox{.8}[1.2]{\CVxx\char1}\hfil}}}
  \def\Next{\fbox{\hbox to .5cm{\hfil\scalebox{.8}[1.2]{\CVxx\char2}\hfil}}}
  \def\First{\fbox{\hbox to .5cm{\hfil\scalebox{.8}[1.2]{\CVxx\char3}\hfil}}}
  \def\Last{\fbox{\hbox to .5cm{\hfil\scalebox{.8}[1.2]{\CVxx\char4}\hfil}}}
  \def\Back{\fbox{\hbox to .5cm{\hfil\scalebox{.8}[1.2]{\CVxx\char5}\hfil}}}
  \def\Forw{\fbox{\hbox to .5cm{\hfil\scalebox{.8}[1.2]{\CVxx\char6}\hfil}}}
  \def\Close{\fbox{\hbox to .5cm{\hfil\scalebox{.8}[1.2]{\CVxx\char9}\hfil}}}
\fi

%\if@metapost
%  \def\Prev {\convertMPtoPDF{mp/back.1}{.5}{.5}}
%  \def\Prevg{\convertMPtoPDF{mp/backg.1}{.5}{.5}}
%  \def\Next {\convertMPtoPDF{mp/next.1}{.5}{.5}}
%  \def\Nextg{\convertMPtoPDF{mp/nextg.1}{.5}{.5}}
%  \def\First{\convertMPtoPDF{mp/first.1}{.5}{.5}}
%  \def\Firstg{\convertMPtoPDF{mp/firstg.1}{.5}{.5}}
%  \def\Last {\convertMPtoPDF{mp/last.1}{.5}{.5}}
%  \def\Lastg{\convertMPtoPDF{mp/lastg.1}{.5}{.5}}
%  \def\Back {\convertMPtoPDF{mp/goback.1}{.5}{.5}}
%  \def\Close{\convertMPtoPDF{mp/close.1}{.5}{.5}}
%\fi

\def\pagedissolve#1{%
     \edef\@@processme{%
     \pdfpageattr{%
        /Trans << /S /#1\space >>%
      }}%
     \@@processme 
    }%

\definecolor{dm}{rgb}{1,.894,.769}
  \def\titlefont{\@setfontsize\titlefont{24}{26}\color{dm}\rmfamily\bfseries}
  \def\authorfont{\@setfontsize\authorfont{17.28}{18}\rmfamily\color{dm}}
  \def\capfont{\@setfontsize\capfont{40}{40}\sffamily\color{white}}
  \def\addressfont{\@setfontsize\addressfont{12}{14}\sffamily\color{dm}}
  \def\rcdfont{\@setfontsize\rcdfont{10}{12}\sffamily\color{white}}
  \def\numfont{\@setfontsize\rcdfont{8}{7}\sffamily\color{white}}
    \def\maketitle{\thispagestyle{title}
         \noindent\begin{minipage}[t][.95\textheight][c]{.975\textwidth}
         \begin{center}
         \null\vspace*{30pt}
         \ifx\@orgname\@empty\relax\else
         {\capfont \@orgname}\\[3pt]\fi
         \ifx\@orgurl\@empty\null\vskip72pt\else
         {\footnotesize\sffamily\@orgurl}\\[72pt]\fi
         {\titlefont \@title}\\[30pt]
         {\authorfont \@author}\\[10pt]
         {\addressfont \strut\@address\par\strut}\\
          \vfill\par
         {\rcdfont \ifx\@notes\@empty\relax\else\@notes\fi} 
         \end{center}
       \end{minipage}          
       \vfill\par\clearpage
  }
  \long\def\author#1{\long\gdef\@author{#1}}\let\@author\@empty
  \long\def\address#1{\long\gdef\@address{#1}}\let\@address\@empty
  \long\def\notes#1{\long\gdef\@notes{#1}}\let\@notes\@empty
  \long\def\orgname#1{\long\gdef\@orgname{#1}}\let\@orgname\@empty
  \long\def\orgurl#1{\long\gdef\@orgurl{#1}}\let\@orgurl\@empty
  %
  %
  \pagestyle{myheadings}
  \def\@linkcolor{black}
  \def\@anchorcolor{black}
  \def\@citecolor{black}
  \def\@filecolor{black}
  \def\@urlcolor{black}
  \def\@menucolor{black}
  \def\@pagecolor{black}
  \definecolor{sgray}{rgb}{.545,.601,.650}
%
\if@nocfg\relax\else
 \IfFileExists{pdfslide.cfg}{\input pdfslide.cfg}{}\fi
\endinput
%%
%%End of file pdfslide.sty'
